﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using ReceiptPrint.Models;


namespace ReceiptPrint.ViewModels.TemplateVMs
{
    public partial class TemplateVM : BaseCRUDVM<Template>
    {
        [Display(Name = "打印内容")]
        public string Info { get; set; }
        public TemplateVM()
        {
        }

        protected override void InitVM()
        {
        }

        public override void DoAdd()
        {           

            base.DoAdd();
        }

        public override void DoEdit(bool updateAllFields = false)
        {
            base.DoEdit(updateAllFields);
        }

        public override void DoDelete()
        {
            base.DoDelete();
        }
    }
}
